package top.infopub.mgr.bpa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.OtherCotListDao;
import top.infopub.model.bpa.OtherCotList;
import top.infopub.mgr.bpa.service.OtherCotListService;
import top.infopub.mgr.bpa.vo.OtherCotListVo;

@Service
public class OtherCotListServiceImpl extends GenericServiceImpl<OtherCotList, String> implements
		OtherCotListService {

	@Autowired
	private OtherCotListDao otherCotListDao;
	
	@Override
	public GenericDao<OtherCotList, String> getDao() {
		return otherCotListDao;
	}

    @Override
    public List<OtherCotList> selectOtherCotLists(String otherCotId) {
        return otherCotListDao.selectOtherCotLists(otherCotId);
    }

    @Override
    public List<OtherCotListVo> selectOtherCotListVo(String otherCotId) {
        return otherCotListDao.selectOtherCotListVo(otherCotId);
    }

}